import request from '@/utils/request'

// 按派工查询
export function getplanJobGxList(mo, th, mateCode, pageIndex, pageSize) {
	return request({
		url: '/development/v9/bcBenchJhController/getplanJobGxList?mo=' + mo + '&th=' + th + '&mateCode=' +
			mateCode + '&pageIndex=' + pageIndex + '&pageSize=' + pageSize + '',
		method: 'get'
	})
}

export const getJobFileByJobId = (jobId) => {
	return request({
		url: '/development/v9/bcBenchJhController/getJobFileByJobId',
		method: 'get',
		params: {
			jobId
		}
	})
}

export const delFileRecordById = (fileIds) => {
	return request({
		url: '/development/v9/bcBenchJhController/delFileRecordById',
		method: 'put',
		params: {
			fileIds
		}
	})
}

export const getFileType = () => {
	return request({
		url: '/development/v9/bcBenchJhController/getFileType',
		method: 'get',
	})
}
